/**
  ******************************************************************************
* @file				bsp_uart.h
* @Software			MDK V5
* @Target 			MM32F533
* @author			ou_teki
* @date				2024-0420
  ******************************************************************************
  */
#ifndef		__IIC_AT24_H__
#define		__IIC_AT24_H__


#ifdef __cplusplus
extern "C" {
#endif

/* Files include */
#include "stdint.h"
#include "stdbool.h"
#include "stdlib.h"
#include "string.h"
#include "stdio.h"

#include "hal_rcc.h"
#include "hal_gpio.h"
#include "hal_i2c.h"

uint8_t AT24_IIC_Init(void);
uint8_t AT24_IIC_TransmitData(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t size);
uint8_t AT24_IIC_ReceiveData(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t size);


#ifdef __cplusplus
}
#endif

#endif /* __IIC_AT24_H__ */
/*lint -restore */
